package com.fang.system.io.mocknetty;

import java.io.IOException;

/**
 * @author fanglingxiao
 * @version 1.0
 * @description TODO
 * @date 2022/7/15 2:45 下午
 **/
public class MockNettyMain {

    public static void main(String[] args) throws IOException {
        EventLoopGroup boss = new EventLoopGroup(1);
        EventLoopGroup worker = new EventLoopGroup(3);
        NettyServerBootStrap bootStrap = new NettyServerBootStrap();
        bootStrap.group(boss,worker).bind(9090);
    }
}
